package com.leo.base_project.activity.database;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.leo.base_project.R;
import com.leo.base_project.entity.BluDevice;

import org.jetbrains.annotations.NotNull;

import java.util.List;

public class BluDeviceDataAdapter extends BaseQuickAdapter<BluDevice,DataViewHolder> {

    public BluDeviceDataAdapter(List<BluDevice> data) {
        super(R.layout.item_rv_drop, data);
    }

    @Override
    protected void convert(@NotNull DataViewHolder dataViewHolder, BluDevice device) {
        dataViewHolder.textView.setText(device.toString());
    }
}
